.bh-input {
	position: relative;
	display: inline-block;
	width: 100%;
	font-size: 14px;
}
.bh-textarea {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: bottom;
    font-size: 14px;
}
.bh-input__inner {
	display: inline-block;
	width: 100%;
	height: 40px;
	line-height: 40px;
	padding: 0 15px;
	border: 1px solid #dcdfe6;
	border-radius: 4px;
	box-sizing: border-box;
	color: #606266;
	background-color: $--color-white;
}
.bh-input__inner:focus {
	outline: none;
	border-color: $--color-primary;
}
.bh-input.is-disabled .bh-input__inner {
	background-color: #f5f7fa;
	border-color: #e4e7ed;
	color: #c0c4cc;
	cursor: not-allowed;
}
.bh-textarea .bh-textarea__inner {
	display: block;
    resize: vertical; 
    padding: 5px 15px;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
    font-size: inherit;
    color: #606266;
    background-image: none;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
	background-color: $--color-white;
}
.bh-textarea .bh-textarea__inner:focus {
	outline: none;
	border-color: $--color-primary;
}
.bh-textarea.is-disabled .bh-textarea__inner {
	background-color: #f5f7fa;
	border-color: #e4e7ed;
	color: #c0c4cc;
	cursor: not-allowed;
}

/*小图标*/
.bh-input__suffix {
    position: absolute;
    height: 100%;
    right: 5px;
    top: 0;
    text-align: center;
    color: #c0c4cc;
    transition: all .3s;
    pointer-events: none;
}
.bh-input__suffix-inner {
    pointer-events: all;
}
.bh-input .bh-input__clear {
    color: #c0c4cc;
    font-size: 14px;
    cursor: pointer;
    transition: color .2s cubic-bezier(.645,.045,.355,1);
}
.bh-input__icon {
    width: 25px;
    line-height: 40px;
}
/*前置*/
.bh-input--prefix .bh-input__inner {
    padding-left: 30px;
}
.bh-input__prefix {
    position: absolute;
    left: 5px;
    top: 0;
    color: #c0c4cc;
}
.bh-input__icon, .bh-input__prefix {
    height: 100%;
    text-align: center;
    transition: all .3s;
}
/*大小*/
.bh-input--medium {
    font-size: 14px;
}
.bh-input--medium .bh-input__inner {
    height: 36px;
    line-height: 36px;
}
.bh-input--medium .bh-input__icon {
    line-height: 36px;
}
.bh-input--small {
    font-size: 13px;
}
.bh-input--small .bh-input__inner {
    height: 32px;
    line-height: 32px;
}
.bh-input--small .bh-input__icon {
    line-height: 32px;
}
.bh-input--mini {
    font-size: 12px;
}
.bh-input--mini .bh-input__inner {
    height: 28px;
    line-height: 28px;
}
.bh-input--mini .bh-input__icon {
    line-height: 28px;
}

/*剩余文字*/
.bh-textarea .bh-input__count {
    color: #909399;
    background: #fff;
    position: absolute;
    font-size: 12px;
    bottom: 5px;
    right: 10px;
}
.bh-input .bh-input__count {
    height: 100%;
    display: inline-flex;
    align-items: center;
    color: #909399;
    font-size: 12px;
}
.bh-input .bh-input__count .bh-input__count-inner {
    background: #fff;
    line-height: normal;
    display: inline-block;
    padding: 0 5px;
}